package com.kc.data.common.service;


import com.kc.data.common.domain.dto.BizWalletRecordDTO;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName IBizPlatformWalletService
 * @Description TODO
 * @Author wangdongliang
 * @Date 2021/6/16 12:07
 */
public interface IBizPlatformWalletService {
    /**
     * 获取商户编号
     * @param userId
     * @param type
     * @return
     */
    public String getSubMchid(Integer userId,Integer type);

    /**
     * 获取已完成订单金额
     * @param merchId
     * @param type
     * @return
     */
    BigDecimal getFinishOrderMoney(Integer merchId, Integer type);

    /**
     * 获取提现中金额
     * @param subMchid
     * @return
     */
    BigDecimal getWithdrawing(String subMchid);

    /**
     * 获取已提现金额
     * @param subMchid
     * @return
     */
    BigDecimal getWithdraw(String subMchid);
    /**
     * 可提现金额
     * @param subMchid
     * @return
     */
    BigDecimal getCanWithdraw(String subMchid);

    /**
     * 钱包收入记录
     * @param subMchid
     * @return
     */
    List<BizWalletRecordDTO> getWalletRecord(String subMchid);
}
